using chatgpt to solve programming challenges